package cmfg;

public class BIFDataDaoImpl implements NetDataDao {

	private double[] netData;
	private int sNodeCount=100;//netData[0]
	private int tNodeCount=1;//netData[1]
	private int addTNodeCount=2;//netData[2]
	private int projectType=1;//netData[3]
	private int selectType=1;//netData[4]


	@Override
	public double[] getNetData() {

		return netData;
	}

	@Override
	public void setNetData(double[] netData) {

		this.netData = netData;
		sNodeCount = (int) netData[0];
		tNodeCount = (int) netData[1];
		addTNodeCount = (int) netData[2];
		projectType=(int)netData[3];
		selectType=(int)netData[4];
		
	}

	public int getSNodeCount() {
		return sNodeCount;
	}

	public int getTNodeCount() {
		return tNodeCount;
	}
	public int getAddTNodeCount() {
		return addTNodeCount;
	}
	
	
	public int getProjectType() {
		return projectType;
	}

	public int getSelectType() {
		return selectType;
	}
	
}
